import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;

public class KBucket{
	public String calculateDistance(String nodeIdOne, String nodeIdTwo){
		
		BigInteger i1 = new BigInteger(nodeIdOne, 16);
		BigInteger i2 = new BigInteger(nodeIdTwo, 16);
		BigInteger result = i1.xor(i2);
		
		return result.toString(16);
	}
	
	public void addTripleIntoBucket(NodeTriple nodeTriple){
		
		
		
		
	}
	
	public List<NodeTriple> getListOfNodesForFindNodeRequest(String nodeId){
		// TODO
		
		
		List<NodeTriple> nodeTriples = new ArrayList<NodeTriple>();
		return null;

	}
	
	public void printAllBucketEntries(){
		

		
			
	}
	

	
	public NodeTriple findNode(String nodeId){
		
		return null;
		
	}
	

	
	public void removeTripleFromBucket(NodeTriple nodeTriple){
		
		
		
	}
}